@layout("/common/_container.html"){

<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>银行余额管理</h5>
            </div>
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <div class="row">
						     <div class="col-sm-3" style="width: 200px">
                                <#SelectCon id="platform" name="平台名称" >
                                    ${deptutil.getPlatformById()}
                                 </#SelectCon>
                             </div>
                            <div class="col-sm-3" style="width: 250px">
                                <#TimeCon id="revDate" name="查询时间" isTime="false" pattern="YYYY-MM-DD" value="${tool.currentDate(0)}" />
                            </div>
							<div class="col-sm-3" style="width: 250px">
								<#SelectCon id="banktype" name="银行类型" >
                                    <option value=''>-请选择-</option>
									<option value='1'>入款银行</option>
									<option value='2'>出款银行</option>
									<option value='3'>中转银行</option>
                                </#SelectCon>
                            </div>
						    <div class="col-sm-3" style="width: 250px">
							    <#SelectCon id="status" name="银行状态" >
                                    <option value=''>-请选择-</option>
									<option value='1'>启用</option>
									<option value='2'>备用</option>
									<option value='3'>冻结</option>
									<option value='4'>解冻</option>
                                </#SelectCon>
                            </div>
                            <div class="col-sm-3" style="width: 200px">
                                <#NameCon id="username" name="姓名" />
                            </div>

                            <div class="col-sm-3" style="width: 200px">
                                <#button name="搜索" icon="fa-search" clickFun="Bank.search()"/>
								 <#button name="重置" icon="fa-trash" clickFun="Bank.resetSearch()" space="true"/>
                            </div>
                        </div>
                        <div class="hidden-xs" id="BankTableToolbar" role="group">
                            @if(shiro.hasPermission("/bank/add")){
                                <#button name="添加" icon="fa-plus" clickFun="Bank.openAddBank()"/>
                            @}
                            @if(shiro.hasPermission("/bank/update")){
                                <#button name="修改" icon="fa-edit" clickFun="Bank.openBankDetail()" space="true"/>
                            @}
							@if(shiro.hasPermission("/bank/addBalance")){
                                <#button name="期初余额设置" icon="fa-edit" clickFun="Bank.openAddBalance()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/bank/delete")){
                                <#button name="删除" icon="fa-remove" clickFun="Bank.delete()" space="true"/>
                            @}
							<#button name="导出" icon="fa-plus" clickFun="Bank.operExport()" space="true"/>
                        </div>
                        <#table id="BankTable"/>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/bank/bank/bank.js"></script>
@}
